package com.face.console.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

@Data
@ToString
public class MenuVO {

    @ApiModelProperty(value = "主键")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private Long pid;//上级id
    private String mDescribe;//备注
    private String mCode;//权限标识
    private int  mType;//类型
    public String title; //name 菜单名称
    public String href;//url 资源路径页面

    public String icon; //图标
    public String target;//打开方式
    public List<MenuVO> child;//子菜单


}
